from sqlalchemy import Column,String,Integer,Date,Boolean,BigInteger,DATETIME,ForeignKey,func
from  sqlalchemy.orm import relationship

from Model.sqlConfig import Base

class FaskApi_cli(Base):
    __tablename__='faskApi_cli'
    id=Column(Integer,primary_key=True,index=True,autoincrement=True)
    name=Column(String(100),nullable=False,comment='应用名')
    vertion=Column(String(100),unique=True,nullable=False,comment='版本')
    create_date=Column(DATETIME,server_default=func.now(),comment='创建时间')
    update_date=Column(DATETIME,onupdate=func.now(),comment='更新时间')
